package com.hello.mapper;

import com.hello.entity.Petcard;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PetcardMapper {
    /**
     * 新增员工
     * @param petcard
     */
    @Insert("insert into pet_card (petName, gender, weight, description, sterilized, birthDate, homeDate) " +
            "values " +
            "(#{petName},#{gender},#{weight},#{description},#{sterilized},#{birthDate},#{homeDate})")
    void insert(Petcard petcard);
}
